用定时器以间隔500MS在6位数码管上依次显示0、1、 2、3….C、D、E、F,重复。
#include<reg51.h> #define uchar unsigned char #define uint unsigned int uint i,j; sbit dula=P2^6; sbit wela=P2^7; uchar code table[]={0x3f,0x06...
#include<reg51.h> #define uchar unsigned char #define uint unsigned int uint i,j; sbit dula=P2^6; sbit wela=P2^7; uchar code table[]={0x3f,0x06...
用定时器以间隔500MS在6位数码管上依次显示0、1、2、3….C、D、E、F,重复。...
在#MCU2的数码管上显示1,2,3,4 用定时器设置一个占空比不等的方波信号, 在8255的PA口,用LED的亮灭来表示...
电子琴 高音依次为1,2,3,4,5,6,7 中音依次为q,w,e,r,t,y,u 低音依次为a,s,d,f,g,h,j...
往返流水灯+蜂鸣器500ms间隔...